{template "content","header"}
<div class="nybanner">
<img src="{IMG_PATH}nybanner.jpg">
</div>
<div class="chanpin-box">
    <div class="common-width">
        <div class="chanpin">
            {pc:get sql="select p.thumb,p.description,p.title,pd.content from picture as p, picture_data as pd WHERE pd.id=p.id and p.id=$id"}{/pc}
            <div class="chanpin-tp wow fadeInUp">
                <div class="chanpin-tp-l">
                <img src="{$data[0]['thumb']}" alt="">
                </div>
                <div class="chanpin-tp-r">
                	<div class="up">
                        <h1>{$data[0]['title']}</h1>
                        <div class="ar_article">{$data[0]['description']}
                        </div>
                    </div>
                    <div class="un">
                        <div class="tel_box">
                          <span>咨询电话</span><strong>029-86690509</strong>
                        </div>
                        <div class="link_box">
                          <a class="box" href="tencent://message/?uin=1157336129&amp;Site=&amp;Menu=yes"><img src="http://www.sxsure.com/statics/images/bnt_qq_pro.png" data-bd-imgshare-binded="1"></a>
                            <div class="ewm_box box"> 
                            <img src="{IMG_PATH}bnt_wecat_pro.png" data-bd-imgshare-binded="1">
                            <img class="ewm" src="{IMG_PATH}ewm.png" alt="微信二维码" width="140" style="right: -65px;top: 24px;" data-bd-imgshare-binded="1">
                            </div>
                        </div>
                    </div>
                    
                </div>
            </div>
            <div class="chanpin-xq wow fadeInUp">
            	<div class="xq-title">
                  <strong>产品描述</strong><span>Product description</span>
                </div>
                <div class="xq-cont">
                    {$data[0]['content']}
                </div>
            </div>
            <div id="ar_fot">
                {pc:get sql="select * from picture where catid=$catid and id<$id order by id desc" }{/pc}
                {if empty($data[0])}
                    <h1 class="fl"><span>上一篇：</span><a href="javascript:;">没有了</a></h1>
                {else}
                    <h1 class="fl"><span>上一篇：</span><a href="{$data[0]['url']}">{$data[0]['title']}</a></h1>
                {/if}
                {pc:get sql="select * from picture where catid=$catid and id>$id order by id asc" }{/pc}
                {if empty($data[0])}
                    <h1 class="fr"><span>下一篇：</span><a href="javascript:;">没有了</a></h1>
                {else}
                    <h1 class="fr"><span>下一篇：</span><a href="{$data[0]['url']}">{$data[0]['title']}</a></h1>
                {/if}
            	<div class="clear"></div>
                <div class="bnt_box"><a href="?m=content&c=index&a=lists&catid=13" class="bnt_back">返回列表</a></div>
            </div>
            
        </div>
    </div>
</div>
{template "content","footer"}